//
//  FQWKWebResponseEntity.h
//  KDFDApp
//
//  Created by Bruce on 2017/8/24.
//  Copyright © 2017年 cailiang. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, Code) {
    ENUM_Succeed = 0,          // regular table view
    ENUM_NOMethod = 1000,      // 无此方法
    ENUM_ParamError = 1001,    // 参数错误
    ENUM_ResolveFail = 1002,    // 处理失败
    ENUM_UserCancel = 1003,    // 用户取消操作
    ENUM_NOPermission = 1004,    //无操作权限
    ENUM_InitedFail = 1005,    // 客户端初始化失败
    ENUM_OSVersionLow = 1007    //手机系统版本太低
};


@interface QCWKWebResponseDataEntity : NSObject
@property (nonatomic, copy) NSString *message;
@property (nonatomic, assign) Code code;
@property (nonatomic, strong) NSDictionary *data;
@end
@interface FQWKWebResponseEntity : NSObject
@property (nonatomic, copy) NSString *callbackid;
@property (nonatomic, strong) QCWKWebResponseDataEntity *data;
+ (instancetype)getResponse;
@end
